class Quarter 
  
  def initialize 
    @current_quarter = "1st"
    @drives_left     = 1    
  end
  
  def quarter
    @current_quarter
  end
  
  def drives
    @drives_left
  end
  
  def reset
    @drives_left = 1
  end
  
  def increment_quarter
    if @current_quarter == "1st"
      @current_quarter = "2nd" 
    elsif @current_quarter == "2nd"
      @current_quarter = "3rd"
    elsif @current_quarter == "3rd"
      @current_quarter = "4th"
    elsif @current_quarter == "4th"
      @current_quarter = "OT"
    end
  end
  
  def decrement_drives_left
    @drives_left -= 1
  end
end